package com.atguigu.gmall.seckill.biz;

import com.atguigu.gmall.common.result.ResultCodeEnum;
import com.atguigu.gmall.seckill.vo.SeckillOrderConfirmVo;
import com.atguigu.gmall.seckill.vo.SeckillOrderSubmitVo;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/12/27 19:13
 * @Version 1.0
 */
public interface SeckillBizService {

    String generateSeckillCode(Long skuId);

    void seckillOrder(Long skuId, String code);

    ResultCodeEnum checkOrder(Long skuId);

    SeckillOrderConfirmVo getSeckillOrderInfo(String code);

    Long submitOrder(SeckillOrderSubmitVo submitVo);

}
